<html>

	<head>
		<meta charset="UTF-8">
		<title>打印表彰事件信息单</title>
		<link rel="stylesheet" type="text/css" href="../../../Themes/default/easyui.css">
		<link rel="stylesheet" type="text/css" href="../../../Themes/icon.css">
		<link rel="stylesheet" type="text/css" href="../../../CSS/demo.css">
		<link rel="stylesheet" type="text/css" href="../../../CSS/common.css">
		<link rel="stylesheet" type="text/css" href="../../../CSS/print.css">
		<script type="text/javascript" src="../../../JS/common.js"></script>
		<script type="text/javascript" src="../../../JS/jquery.min.js"></script>
		<script type="text/javascript" src="../../../JS/jquery.easyui.min.js"></script>
		<script type="text/javascript" src="../../../JS/LogisticsShareFunction/PrintShareFunction.js"></script>
	
	</head>

	<body>
		<div class="div_print_info_portait">
				<h1 align="center">高水农副产品批发有限公司市管中心</h1>
			    <h1 align="center">表彰事件处理记录表</h1>
				<form id="ff" method="post">
				<table cellspacing="4" style="margin-top: 10px;margin-left: 0px;margin-bottom: 10px;">
				<tr>
					<td><p>编号</p></td>
				    <td>
				    	<input name="ORDER_NO" style="border: none;"/>
				    </td>
				</tr>
				</table>
			    <table cellpadding="4" class="altrowstable printtable">
				    <tr>
						<td width="15%">表彰时间</td>
						<td width="35%">
							<input class="print_text_style" style="width:100%"  name="TIME"/ >
						</td>
						<td width="15%">经办人</td>
						<td width="35%">
							<input  class="print_text_style" style="width:100%"  name="OPERATOR"/>
						</td>
					</tr>
					<tr>
						<td width="15%">表彰事由</td>
						<td width="35%" colspan="3">
							<input  class="print_text_style" style="width:100%"  name="REASONS"/>
						</td>
					</tr>
					<tr>
						<td>备注</td>
						<td colspan="5">
							<input class="print_text_style" name="MEMO" style="width:100%;height:30px"/>
						</td>
					</tr>
				</table>
				<table id="OrderInforTable" cellpadding="4" class="altrowstable printtable" style="margin-top: 0px;">
					<tr>
						<th>
							<div>姓名</div>
						</th>
						<th>
							<div>人员类型</div>
						</th>
						<th>
							<div>授予称号</div>
						</th>
						<th>
							<div>备注</div>
						</th>
                    </tr>
		       </table>		
			</form>
		</div>
	</body>
	<script type="text/javascript">
		var id = getID();
		$(document).ready(function(){})
		loadRemote()
    	});
       function loadRemote() {
			$.ajax({
				type: "get",
				url: RemoteLinkAddress + "/market/citeevent/findbyid.do?ID=" + id,
				dataType: "json",
				success: function(result) {
					getPrintFormData(result);
					var newTd = new Array();
					var _data = result.rows;
					for(var i = 0; i < _data.length; i++) {
						var newTr = OrderInforTable.insertRow();
						newTd[0] = newTr.insertCell()
						if(_data[i].NAME != undefined){
							newTd[0].innerText = _data[i].NAME;
						}
						newTd[0] = newTr.insertCell()
						if(_data[i].TENANT_TYPE != undefined){
							newTd[0].innerText = _data[i].TENANT_TYPE;
						}
						newTd[0] = newTr.insertCell()
						if(_data[i].REWARDS != undefined){
							newTd[0].innerText = _data[i].REWARDS;
						}
						newTd[0] = newTr.insertCell()
						if(_data[i].MEMO != undefined){
							newTd[0].innerText = _data[i].MEMO;
						}
					}
				}
			});
		} 
	</script>

</html>